<include file="../Public/header" />

        
    </head>
    <body>

    <div id="container">
		<form action="{:U('/System/doSaveSiteOption')}" method="post">        
			<table width="100%" border="0" cellpadding="4" cellspacing="0" class="form">
                <tr class="top">
                    <td colspan="2" class="tit">站点状态</td>
                </tr>
                <tr>
                    <th width="160" valign="top" class="th">是否关闭访问：</th>
                    <td class="td">
                        <input type="radio" name="site_close" value="1" class="radio" <php>if($opt["site_close"] == 1){</php>  checked="true" <php>}</php>/>是  
                        <input type="radio" name="site_close" value="0" class="radio" <php>if($opt["site_close"] == 0){</php>  checked="true" <php>}</php>/>否
                    </td>
                </tr>
                <tr>
                    <th class="th" valign="top">关闭访问理由：</th>
                    <td class="td"><textarea name="site_close_reason" cols="50">{$opt['site_close_reason']}</textarea></td>
                </tr>
                <tr>
                    <th valign="top">&nbsp;</th>
                    <td class="td"><input type="submit" class="button" value="提交保存" /></td>
                </tr>
			</table>
		</form>                                   
    </div>

    <div id="container">
		<form action="{:U('/System/doSaveSiteOption')}" method="post" enctype="multipart/form-data">        
            <table width="100%" border="0" cellpadding="4" cellspacing="0" class="form">
				<tr class="top">
					<td colspan="2" class="tit">基本配置</td>
				</tr>
				<tr>
					<th class="th" valign="top">网站logo：</th>
					<td class="td">
						<p><a href="__THEME__/images/logo.jpg" target="_blank"><img src="__THEME__/images/logo.jpg" /></a></p>	
						<p><input type="file" name="logo" value="" size="30"></p>
					</td>
				</tr>
				<tr>
					<th class="th" width="160" valign="top">站点名称：</th>
					<td class="td"><input name="name" type="text" value="{$opt['name']}" /></td>
				</tr>
				<tr>
					<th class="th" valign="top">页头标题：</th>
					<td class="td"><input name="title" type="text" size="50" value="{$opt['title']}"/></td>
				</tr>
				<tr>
					<th class="th" valign="top">页头信息描述：</th>
					<td class="td">
					<p><input name="description" type="text" size="50" value="{$opt['description']}"/></p></td>
				</tr>
				<tr>
					<th class="th" valign="top">页头信息关键字：</th>
					<td class="td">
					<p><input name="keywords" type="text" size="50" value="{$opt['keywords']}"/></p></td>
				</tr>
				<tr>
					<th class="th" valign="top">选择模板：</th>
					<td class="td">
                    <p>
                    <select name="template" id="select">
                        <volist id="vo" name="themelist">
                            <php>$isselected = (trim($vo['filename']) == $opt['template'])?'selected="true"':''</php>
                            <option value="{$vo.filename}" {$isselected}>{$vo.filename}</option>
                        </volist>
                    </select>
                    </p>
                    <p>站点模板目录存放在 ./public/themes 下面。其中 blue 目录为默认风格，不能删除。 </p>
                    </td>
				</tr>
				<tr>
					<th class="th" valign="top">站点联系邮箱：</th>
					<td class="td"><input name="webmaster" type="text" value="{$opt['webmaster']}" /></td>
				</tr>
				<tr>
					<th class="th" valign="top">ICP/IP/域名备案：</th>
					<td class="td">
					<p><input name="icp" type="text" value="{$opt['icp']}" /></p>
					<p>(例如 京ICP备04000001号，显示在所有页面的最下面)</p>
					</td>
				</tr>
				<tr>
					<th valign="top">&nbsp;</th>
					<td class="td"><input type="submit" class="button mt10 mb10" value="提交保存" /></td>
				</tr>
			</table>
		</form>                                   
    </div>

    <div id="container">
		<form action="{:U('/System/doSaveSiteOption')}" method="post">        
			<table width="100%" border="0" cellpadding="4" cellspacing="0" class="form">
                <tr class="top">
                    <td colspan="2" class="tit">IP禁止</td>
                </tr>
                <tr>
                    <th width="160" valign="top" class="th">是否启用IP过滤：</th>
                    <td class="td">
                        <input type="radio" name="ip_filter" value="1" class="radio" <php>if($opt["ip_filter"] == 1){</php>  checked="true" <php>}</php>/>是  
                        <input type="radio" name="ip_filter" value="0" class="radio" <php>if($opt["ip_filter"] == 0){</php>  checked="true" <php>}</php>/>否
                    </td>
                </tr>
                <tr>
                    <th class="th" valign="top">允许访问IP：</th>
                    <td class="td"><textarea name="allow_ips" cols="50">{$opt['allow_ips']}</textarea></td>
                </tr>
                <tr>
                    <th class="th" valign="top">拒绝访问IP：</th>
                    <td class="td"><textarea name="deny_ips" cols="50">{$opt['deny_ips']}</textarea></td>
                </tr>
                <tr>
                    <th valign="top">&nbsp;</th>
                    <td class="td"><input type="submit" class="button mt10 mb10" value="提交保存" /></td>
                </tr>
			</table>
		</form>                                   
    </div>
</body>
</html>